package com.xm.biz.impl;

import com.xm.biz.BannerBiz;
import com.xm.dao.BannerDao;
import com.xm.dao.impl.BannerDaoImpl;
import com.xm.po.Banner;

import java.util.List;

/**
 * @author xie'lin'feng
 * @date 2020-08-11-14:56
 * @description 轮播广告业务逻辑接口实现类
 */
public class BannerBizImpl implements BannerBiz {
    //初始化数据层
    BannerDao bannerDao = new BannerDaoImpl();
    @Override
    public List<Banner> getAll() {
        return bannerDao.getAll();
    }
}
